package com.atguigu.domain.activity.service;

import com.atguigu.domain.activity.model.entity.PartakeRaffleActivityEntity;
import com.atguigu.domain.activity.model.entity.UserRaffleOrderEntity;

//创建抽奖单；用户参与抽奖活动，扣减活动账户库存，产生抽奖单。如存在未被使用的抽奖单则直接返回已存在的抽奖单。
public interface IRaffleActivityPartakeService {
    UserRaffleOrderEntity createOrder(String userId, Long activityId);

    UserRaffleOrderEntity createOrder(PartakeRaffleActivityEntity partakeRaffleActivityEntity);

}
